package pth.authentication.context;

import java.io.Serializable;
import lombok.Data;
import vin.pth.base.pojo.UserDetails;

/**
 * @author Cocoon
 */
@Data
public class RbacContext implements Serializable {

  /**
   * http method;(get,post,delete,put)
   */
  private String method;

  /**
   * request path;(/login)
   */
  private String path;

  /**
   * http uri;(http://127.0.0.1/login)
   */
  private String url;

  /**
   * token content;
   */
  private String token;

  /**
   * extra rbac info;
   */
  private Object extra;

  private UserDetails userDetails;

}
